fix: raise ValueError for zero input in binary_count_trailing_zeros#14938
Open
Dasmat13 wants to merge 2 commits into
Open
fix: raise ValueError for zero input in binary_count_trailing_zeros#14938Dasmat13 wants to merge 2 commits into
Dasmat13 wants to merge 2 commits into
Conversation
Dasmat13
marked this pull request as draft
July 15, 2026 01:07
mindaugl
approved these changes
Jul 16, 2026
Dasmat13
marked this pull request as ready for review
July 16, 2026 20:16
Author
|
Thanks for the review and approval, @mindaugl! I really appreciate it. It looks like the PR is still waiting for an approval from someone with write access before it can be merged. If you happen to know who could take a quick look, I'd really appreciate it. Thanks again! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your change:
Fixes #14479. Raises a ValueError for zero inputs since trailing zeros for zero are mathematically undefined.
Checklist: